/*****************************************************************************
*
*  PROJECT:     SlipStream
*               (CSound2D Class)
*  LICENSE:     GNU General Public License v3 - http://www.gnu.org/licenses/gpl.html

*  DEVELOPERS:  Philip Farquharson 	<B00137077@studentmail.uws.ac.uk>
*				John Gray 			<B00145524@studentmail.uws.ac.uk>		
*				Zohaib Bhatti		<B00104280@studentmail.uws.ac.uk>
*				Euan Hislop 		<B00138636@studentmail.uws.ac.uk>
*
*****************************************************************************/

#include "CSound2D.h"

CSound2D::CSound2D( ISound* SoundInterface )
{
	// store the sound created in CSoundManager in our CSound2D
	m_SoundInterface = SoundInterface;
}

CSound2D::~CSound2D ( void )
{
	// destroy our sound interface
	m_SoundInterface->drop();
}